package com.kongxx.wicketstudy.component.label;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.MultiLineLabel;

public class MultiLineLabelExample extends WebPage {
	private static final long serialVersionUID = 1L;

	public MultiLineLabelExample() {
		String content = "The first line. \n" +
					"The second line. \n";
		MultiLineLabel label = new MultiLineLabel("message", content);
		add(label);
	}
}
